<!DOCTYPE html>
<html lang="zh" xmlns:th="http://www.thymeleaf.org" >
<head>
    <th:block th:include="include :: header('修改用户地址')" />
</head>
<body class="white-bg">
    <div class="wrapper wrapper-content animated fadeInRight ibox-content">
        <form class="form-horizontal m" id="form-userAddress-edit" th:object="${userAddress}">
            <input name="id" th:field="*{id}" type="hidden">
            <div class="form-group">
                <label class="col-sm-2 control-label">用户编号：</label>
			    <div class="form-control-static" th:text="*{userId}">
			   </div>
            </div>
            <div class="form-group">
                <label class="col-sm-2 control-label">收货人名字：</label>
			    <div class="form-control-static" th:text="*{userName}">
			   </div>
            </div>
            <div class="form-group">
                <label class="col-sm-2 control-label">邮编：</label>
			    <div class="form-control-static" th:text="*{postalCode}">
			   </div>
            </div>
            <div class="form-group">
                <label class="col-sm-2 control-label">省名：</label>
			    <div class="form-control-static" th:text="*{provinceName}">
			   </div>
            </div>
            <div class="form-group">
                <label class="col-sm-2 control-label">市名：</label>
			    <div class="form-control-static" th:text="*{cityName}">
			   </div>
            </div>
            <div class="form-group">
                <label class="col-sm-2 control-label">区名：</label>
			    <div class="form-control-static" th:text="*{countyName}">
			   </div>
            </div>
            <div class="form-group">
                <label class="col-sm-2 control-label">详情地址：</label>
			    <div class="form-control-static" th:text="*{detailInfo}">
			   </div>
            </div>
            <div class="form-group">
                <label class="col-sm-2 control-label">电话号码：</label>
			    <div class="form-control-static" th:text="*{telNum}">
			   </div>
            </div>
            <div class="form-group">
                <label class="col-sm-2 control-label">是否默认：</label>
			    <div class="form-control-static" th:with="type=${@dict.getType('sys_enable')}>
			     <div th:each="dict : ${type}" th:if="*{isDefault==dict.dictValue}" th:text="${dict.dictLabel}" ></div>
			   </div>
            </div>
        </form>
    </div>
    <th:block th:include="include :: footer" />

</body>
</html>
